package com.umeox.watch.moto.launcher.event;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class DeviceStatusChangedEvent {

    public int mDeviceStatus;
    /**
     * 设备绑定
     */
    public static final int BIND = 1;
    /**
     * 设备未绑定
     */
    public static final int UNBOUND = 2;

    @IntDef({BIND, UNBOUND})
    @Retention(RetentionPolicy.SOURCE)
    public @interface DeviceStatus{}


    public DeviceStatusChangedEvent(@DeviceStatus int deviceStatus) {

        mDeviceStatus = deviceStatus;
    }
}
